﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Domain.Model.Sys
{
    public class Sec_Menu:AggregateRoot
    {
        private Sys_Client sysClient;
        private Sec_Menu parentMenu;
        private string name;
        private string description;
        private bool isAcive;
        private bool isSummary;
        private MenuAction action;
        private string exeFile;
        private string formName;
        private string method;
        private string orderIndex;
        private MenuType menuType;
        private string formUrl;

        public Sys_Client SysClient
        {
            get
            {
                return sysClient;
            }
            set
            {
                sysClient = value;
            }
        }
        public Sec_Menu ParentMenu
        {
            get
            {
                return parentMenu;
            }
            set
            {
                parentMenu = value;
            }
        }
        public string Name
        {
            get
            {
                return name;
            }
            set
            {
                name = value;
            }
        }
        public string Description
        {
            get
            {
                return description;
            }
            set
            {
                description = value;
            }
        }
        public bool IsAcive
        {
            get
            {
                return isAcive;
            }
            set
            {
                isAcive = value;
            }
        }
        public bool IsSummary
        {
            get
            {
                return isSummary;
            }
            set
            {
                isSummary = value;
            }
        }
        public MenuAction Action
        {
            get
            {
                return action;
            }
            set
            {
                action = value;
            }
        }
        public string ExeFile
        {
            get
            {
                return exeFile;
            }
            set
            {
                exeFile = value;
            }
        }
        public string FormName
        {
            get
            {
                return formName;
            }
            set
            {
                formName = value;
            }
        }
        public string Method
        {
            get
            {
                return method;
            }
            set
            {
                method = value;
            }
        }
        public string OrderIndex
        {
            get
            {
                return orderIndex;
            }
            set
            {
                orderIndex = value;
            }
        }
        public MenuType MenuType
        {
            get
            {
                return menuType;
            }
            set
            {
                menuType = value;
            }
        }
        public string FormUrl
        {
            get
            {
                return formUrl;
            }
            set
            {
                formUrl = value;
            }
        }
    }
}
